import Vue from 'vue'
import Vuex from 'vuex'
import axios from 'axios'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
      books:[]
  },
  mutations: {
      updateBooks(state,obj){
          state.books.push(obj.data);
      }
  },
  actions: {
      
  },
  modules: {}
})